﻿#ifndef SYNTAX_TREE_H
#define SYNTAX_TREE_H
#include <iostream>
#include "syntax_node.h"

class SyntaxTree
{
public:
    void push_back(SyntaxNode &node);

    friend std::ostream &operator<<(std::ostream &os, const SyntaxTree &t);

private:
    std::vector<SyntaxNode> m_nodes;
};

#endif